package com.mikhailenko.transportMVC.service;

import java.util.List;

import com.mikhailenko.transportMVC.exeption.UserNotFoundExeption;
import com.mikhailenko.transportMVC.model.User;

public interface UserService {
	public User create(User user);

	public User delete(int id) throws UserNotFoundExeption;

	public List<User> findAll();

	public User update(User user) throws UserNotFoundExeption;

	public User findById(int id);
}
